home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
rwvector.lha
/
RWVector2.1
/
rw
/
compiler.h
< prev
next >
Wrap
C/C++ Source or Header
|
1989-08-18
|
1KB
|
53 lines
#ifndef COMPILER_H
#define COMPILER_H
#pragma once
/*
* Compiler related directives
*
* Copyright (C) 1988, 1989.
*
* Dr. Thomas Keffer
* Rogue Wave Associates
* P.O. Box 85341
* Seattle WA 98145-1341
*
* Permission to use, copy, modify, and distribute this
* software and its documentation for any purpose and
* without fee is hereby granted, provided that the
* above copyright notice appear in all copies and that
* both that copyright notice and this permission notice
* appear in supporting documentation.
*
* This software is provided "as is" without any
* expressed or implied warranty.
*
*
* @(#)compiler.h 2.1 8/18/89
*/
// Either version 1 or 2 defines AT&T compatible compiler
#if defined(__ATT1__) || defined(__ATT2__)
#define __ATT__
#endif
// Version 2 allows extern "C" declarations
#if defined(__ATT2__) || defined(__GNUG__)
#define Cdecl "C"
#define Fortdecl "C"
#else Not version 2 compatible
#define Cdecl
#define Fortdecl
#endif
// All versions need "overload" except ATT 2.0
#ifndef __ATT2__
#define NEEDS_OVERLOAD 1
#endif
#endif COMPILER_H